package com.mc.lp.shared.vo;

import java.util.List;

import com.mc.lp.shared.util.constants.ResponseStatus;

/**
 * Service response json will be return after calling service methods.
 * @author deepak
 *
 */
public class ServiceResponse<E extends IValueObject> implements IValueObject {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ResponseStatus status=ResponseStatus.UNKNOWN;
	private String msg;
	List<E> result;
	private Object object;
	private IValueObject extraInfo;
	
	public List<E> getResult() {
		return result;
	}
	public void setResult(List<E> result) {
		this.result = result;
	}
	public ResponseStatus getStatus() {
		return status;
	}
	public void setStatus(ResponseStatus status) {
		this.status = status;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public IValueObject getExtraInfo() {
		return extraInfo;
	}
	public void setExtraInfo(IValueObject extraInfo) {
		this.extraInfo = extraInfo;
	}
	public Object getObject() {
		return object;
	}
	public void setObject(Object object) {
		this.object = object;
	}
	
	
}
